{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
~}}

<PageHeader as |p|>
  <p.top>
    <KmipBreadcrumb @scope={{this.scope}} @currentRoute="Create Role" />
  </p.top>
  <p.levelLeft>
    <h1 class="title is-3">
      Create a Role
    </h1>
  </p.levelLeft>
</PageHeader>

<Kmip::RoleForm
  @model={{this.model}}
  @onSave={{transition-to "vault.cluster.secrets.backend.kmip.scope.roles" this.scope}}
  @onCancel={{transition-to "vault.cluster.secrets.backend.kmip.scope.roles" this.scope}}
/>